const router = require('koa-router')()
const { searchUsers } = require('../control/users/index')

router.prefix('/users')

router.get('/', searchUsers)

router.post('/', function (ctx, next) {
  ctx.body = 'this is a users/bar response'
})

module.exports = router
